import request from '@/utils/request'
import { ResultJobInfoVo, DeepRequired } from '../../interface'

/**
 * hr根据Id获取job
 * /job/hr/{id}
 */
export function getJobHrById(params: GetJobHrByIdParams) {
  return request.get<DeepRequired<ResultJobInfoVo>>(`/job/hr/${params.id}`)
}

interface GetJobHrByIdParams {
  id: number
}
